package com.cmc.cloud.cmclink.doc.api.document.rep.manifestrep.manifestvslvoy;

import com.cmes.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static com.cmes.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 舱单航次路径分页 Request VO
 *
 * @author codegen
 */
@Schema(description = "管理后台 - 舱单航次路径分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class ManifestVslvoyPageReqVO extends PageParam {

    @Schema(description = "外键", example = "30010")
    private Long manifestId;

    @Schema(description = "航程序号")
    private Integer routeNo;

    @Schema(description = "航线代码")
    private String laneCodeEx;

    @Schema(description = "航线代码")
    private String laneCodeIm;

    @Schema(description = "船名代码")
    private String vesselCode;

    @Schema(description = "出口航次")
    private String voyageEx;

    @Schema(description = "进口航次")
    private String voyageIm;

    @Schema(description = "装货港代码")
    private String polCode;

    @Schema(description = "卸货港代码")
    private String podCode;

    @Schema(description = "运输类型")
    private String transmode;

    @Schema(description = "POL ETD 预计离港时间")
    private String polEtd;

    @Schema(description = "POD ETA 预计到达时间")
    private String podEta;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
